.container {
    position: relative;
    overflow: hidden;
    height: 56.25vw;
    width: 100vw;
    border: 2px solid gray;
  }
  
  .container .image-slider {
    display: flex;
    overflow-x: scroll;
    /* 过渡 */
    scroll-behavior: smooth;
    /* x轴吸附，与下面图片的样式配合 */
    scroll-snap-type: x mandatory;
    width: 100%; /* Set the width to match the container */
  }
  
  .container .image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 吸附效果 吸附起始位置 */
    scroll-snap-align: start;
  }
  
  .nav-section {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    opacity: 0.5;
    color: #aa9a9a;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  
  .nav-section .slide-button {
    display: flex;
    width: 10px;
    height: 10px;
    background-color: #aa9999;
    text-decoration: none;
    border-radius: 50%;
    margin: 5px;
    border:1px solid #aa9999;
  }
  
  .nav-section .slide-button.active {
    background-color: #fff; /* Change to your desired active state background color */
  }
  